Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete code for optuna v2 #783

Merged
merged 3 commits into from
Feb 9, 2024
Merged

Conversation

keisuke-umezawa
Copy link
Member

@keisuke-umezawa keisuke-umezawa commented Jan 27, 2024

Contributor License Agreement

This repository (optuna-dashboard) and Goptuna share common code.
This pull request may therefore be ported to Goptuna.
Make sure that you understand the consequences concerning licenses and check the box below if you accept the term before creating this pull request.

  • I agree this patch may be ported to Goptuna by other Goptuna contributors.

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Copy link

codecov bot commented Jan 27, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (5a4070c) 68.96% compared to head (d30ed93) 69.81%.
Report is 50 commits behind head on main.

Files Patch % Lines
optuna_dashboard/_serializer.py 75.00% 1 Missing ⚠️
optuna_dashboard/_storage.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #783      +/-   ##
==========================================
+ Coverage   68.96%   69.81%   +0.84%     
==========================================
  Files          35       35              
  Lines        2388     2369      -19     
==========================================
+ Hits         1647     1654       +7     
+ Misses        741      715      -26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@keisuke-umezawa keisuke-umezawa changed the title [WIP] Delete code for optuna v2 Delete code for optuna v2 Feb 9, 2024
Copy link
Member

@c-bata c-bata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your pull request. Changes in the python package looks good to me. I left one review comment on the changes in stanalone app.

@@ -287,30 +287,6 @@ const parseDistributionJSON = (t: string): Distribution => {
step: parsed.attributes.step as number,
log: parsed.attributes.log as boolean,
}
} else if (parsed.name === "UniformDistribution") {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The standalone app does not depend on Optuna directly, so that it seems not relevant with the dropping support for Optuna v2. Could you keep these existing code?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, sorry, I understand. I will fix it.

@c-bata c-bata self-assigned this Feb 9, 2024
Copy link
Member

@c-bata c-bata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for the update.

@c-bata c-bata merged commit a146503 into optuna:main Feb 9, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants